home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / util / text / xdmetex.lha / rexx / TeXifyRUN.xdme < prev   
Text File  |  1995-09-07  |  954b  |  28 lines

  1. /* TeX von DME aus starten - Asynchrone Version                */
  2. /*                                                             */
  3. /* (c) 1993 Helmut Kindler        $VER TeXifyRUN 1.0 (18.1.93) */                        
  4.  
  5. parse ARG file
  6.  
  7. /* rexxsupport.library öffnen [wegen delay()] */
  8. if ~show('l', "rexxsupport.library") then do
  9.     check = addlib('rexxsupport.library',0,-30,0)
  10.     if check = 0 then do
  11.         'title' '(Fehler: Kann die rexxsupport.library nicht einbinden !!)'
  12.         address COMMAND wait 2
  13.         exit
  14.     end
  15. end
  16.  
  17. if upper(right(file,4)) ~= '.TEX' then do
  18.         'title' '(TeXify braucht "*.tex"-Files,' file ' geht nicht!)'
  19.         call delay(100)
  20.     end
  21. else do
  22.     file = left(file,length(file)-4)
  23.     'title' '(Rufe AmigaTeX mit Filenamen' file ')'
  24.     address 'AMIGATEX'                    /* Hi TeX, jetzt büs du dran */
  25.     'TeXify' file                         /* denn mach man hin         */
  26.     call delay(100)
  27. end
  28.